﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 我的第一个WebFrom
{
    public partial class 在线新闻发布系统 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.ddlSEX.Items.Add("新华社");
                this.ddlSEX.Items.Add("观察者网");
            }
            Literal1.Text= DateTime.Now.ToLocalTime().ToString();
        }

        protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        protected void Button(object sender, EventArgs e)
        {
            TextBox1.Text = "";
        }
    }
}